<template>
	<view class="">
		<uni-status-bar :background="background"></uni-status-bar>
		<u-toast></u-toast>
			<u-toast ref="uToast" />
		<view class="login-f" @tap="back">
			<u-icon class="login-f-close" name="close" color="#37330B"></u-icon>
		</view>
		<image class="login-img" src="../../static/login_02.png" mode="widthFix" lazy-load></image>
	</view>
</template>

<script>
	import uniStatusBar from '../../components/uni-status-bar/uni-status-bar.vue'
	export default{
		components:{
			uniStatusBar
		},
		data() {
			return {
				background: '#FFE933'
			}
		},
		methods:{
			back(){
				console.log("点了关闭")
				uni.switchTab({
					url:'../../pages/home/home'
				})
			}
		}
	}
</script>

<style>
	.login-img{
		
		width: 100%;
	}
	.login-f{
		background-color: #FFE933;
		height:200upx;
		width: 100%;
	}
	.login-f-close{
		position: absolute;
		left: 30upx;
		top: 80upx;
		
	}
</style>
